# 公用编译设置

CONFIG(debug,debug|release){
    MOC_DIR = debug/.moc
    RCC_DIR = debug/.rcc
    UI_DIR = debug/.ui
    OBJECTS_DIR = debug/.obj
}else{
    MOC_DIR = release/.moc
    RCC_DIR = release/.rcc
    UI_DIR = release/.ui
    OBJECTS_DIR = release/.obj
}

# 依赖设置

win32{
    # QT_ARCH i386;x86_64;mips64;arm64
    contains(QT_ARCH,i386){
        DEP_i386=$$PWD/depends/win/x32
        CONFIG(debug,debug|release){
            DEPENDPATH += $$DEP_i386/debug
            QMAKE_LIBDIR += $$DEP_i386/debug
        }
        CONFIG(release,debug|release){
            DEPENDPATH += $$DEP_i386/release
            QMAKE_LIBDIR += $$DEP_i386/release
        }
    }
}
